﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SortingAlgorthm.Implementation
{
    public abstract class Algorithm<T> : IAlgorithm<T>
    {
        public Algorithm()
        {
            this.Comparer = Comparer<T>.Default;
        }

        public virtual IComparer<T> Comparer { get; set; }

        public abstract void Sort(IList<T> list);

    }
}
